package com.pb.infra.oth.entity.excel;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * excel列通用类
 *
 * @author liudebao
 * @date 2020/1/9
 */
@Data
@AllArgsConstructor
@RequiredArgsConstructor
public class Column {
    /**
     * 列名
     */
    @NonNull
    private String name;

    /**
     * 对齐方式
     */
    private HorizontalAlignment align;
}
